<?php
/**
* @author: Pham Van Diep
* @date: 26/2/2014
*/
// check permission add new
$strUrlBack = isset($_SESSION[SESSION_BACKURL]) ? $_SESSION[SESSION_BACKURL] : HOST_BACKEND;
if( !isset($AppUI) ||
	!isset($_SESSION['personal']) ||
	(isset($_SESSION['personal']) && ($_SESSION['personal']&&1<<1)==0)  
) {
	redirect($strUrlBack);
}
$this->load->model('national_model','national');
$arrNational = $this->national->getAll();
$this->smarty->assign('arrNational', $arrNational);
$this->smarty->display('national/add.tpl');